<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>第八十九节课（自定义jQuery命令）</title>
    <link rel="stylesheet" href="../css/common.css">
    <script type="text/javascript" src="../js/jquery.js"></script>
    <script>
        $(function () {
            //形式一
            (function ($) {
                $.fn.extend({
                    pluginName: function (opt, callback) {
                        //Our plugin implementation code goes here
                    }
                })
            })(jQuery);

            //形式二
            (function ($) {
                $.fn.pluginName = function () {
                    //Our plugin implementation code goes here
                }
            })(jQuery);
        })
    </script>
</head>
<body>
<h1>

</h1>
</body>
</html>
